using System;
using System.Collections.Generic;
using System.Text;

namespace project
{
    class StockDate_Class
    {
        string _mname;
        DateTime _currdate;
        int _openingstock;
        int _closingstock;

        public StockDate_Class(string mname, DateTime curr_date, int opening_stock, int closing_stock)
        {
            _mname = mname;
            _currdate = curr_date;
            _openingstock = opening_stock;
            _closingstock = closing_stock;
        }

        public string mname
        {
            get
            {
                return _mname;
            }
            set
            {
                _mname = value;
            }
        }

        public DateTime curr_date
        {
            get
            {
                return _currdate;
            }
            set
            {
                _currdate = value;
            }
        }


        public int opening_stock
        {
            get
            {
                return _openingstock;
            }
            set
            {
                _openingstock = value;
            }
        }

        public int closing_stock
        {
            get
            {
                return _closingstock;
            }
            set
            {
                _closingstock = value;
            }
        }
    }
}
